<template>
    <view class="coreshop-copyright">
        <view class="coreshop-font-xs">
            © {{shopName}} 品牌运营
        </view>
        <view class="coreshop-font-xs" v-if="shopBeiAn">
            <view>备案号：{{shopBeiAn}}</view>
        </view>
        <view class="coreshop-font-xs">
            Powered by 米朗数智 13960936336
        </view>
    </view>
</template>

<script>
    import { mapState } from 'vuex';
    export default {
        data() {
            return {
                //shopBeiAn: this.$store.state.config.shopBeiAn || '',
                //shopName: this.$store.state.config.shopName || ''
            }
        },
        computed: {
            ...mapState({
                shopBeiAn: state => state.config.shopBeiAn,
                shopName: state => state.config.shopName,
            }),
            shopBeiAn: {
                get() {
                    return this.$store.state.config.shopBeiAn;
                }
            },
            shopName: {
                get() {
                    return this.$store.state.config.shopName;
                }
            },
        },
    }
</script>
<style scoped lang="scss">
</style>
